package com.crawler.config;

import org.springframework.web.bind.annotation.ControllerAdvice;
import org.springframework.web.servlet.mvc.method.annotation.AbstractJsonpResponseBodyAdvice;

/**
 * @author hanyz
 * @Description:
 * @date 14:06
 */
@ControllerAdvice(basePackages = "com.crawler.service")
public class JsonpConfig extends AbstractJsonpResponseBodyAdvice {

    public JsonpConfig() {

        super("callback","jsonp");
    }
}